package org.rsdf.admin.feign;

import org.rsdf.admin.feign.impl.HiServiceImpl;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-order", fallback = HiServiceImpl.class)
public interface HiService {

	@GetMapping("/hi")
	String hi(@RequestParam("name") String name);

}
